﻿using BaiTu.IEventServices;
using BaiTu.IOCServices;
using ServiceStack.Redis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaiTu.EventServices.Testing.Sub
{
   class Program
    {
       static void Main(string[] args)
       {
           IOCServices.EngineContext.Initialize(true);

           IEventBus eventBus = EngineContext.Current.Resolve<IEventBus>();

          
           Console.WriteLine("listening...");
     
           Console.ReadKey();
       }
    }
}
